package com.cloudbroker.bcs.platform.ltb.bizapi.service.business.question.result;

import com.cloudbroker.bcs.common.entity.DataBaseBackVo;

import java.util.List;

public class QuestionData extends DataBaseBackVo {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    protected Long customer_id;
    protected Long question_id;
    protected String question_content;
    protected String customer_name;
    protected String customer_avatar;
    protected String question_date;
    protected String position_str;
    protected String answer_status;
    protected String public_status;
    protected Integer upvote_num;
    protected Integer reward_num;
    protected Integer upvote_flag;
    protected Integer reward_flag;
    protected List<AnswerData> question_answer;

    public Long getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(Long question_id) {
        this.question_id = question_id;
    }

    public String getPosition_str() {
        return position_str;
    }

    public void setPosition_str(String position_str) {
        this.position_str = position_str;
    }

    public String getQuestion_content() {
        return question_content;
    }

    public void setQuestion_content(String question_content) {
        this.question_content = question_content;
    }

    public String getQuestion_date() {
        return question_date;
    }

    public void setQuestion_date(String question_date) {
        this.question_date = question_date;
    }

    public List<AnswerData> getQuestion_answer() {
        return question_answer;
    }

    public void setQuestion_answer(List<AnswerData> question_answer) {
        this.question_answer = question_answer;
    }
    
    public String getAnswer_status() {
        return answer_status;
    }
    
    public void setAnswer_status(String answer_status) {
        this.answer_status = answer_status;
    }
    
    public String getPublic_status() {
        return public_status;
    }
    
    public void setPublic_status(String public_status) {
        this.public_status = public_status;
    }
    
    public Integer getUpvote_num() {
        return upvote_num;
    }
    
    public void setUpvote_num(Integer upvote_num) {
        this.upvote_num = upvote_num;
    }
    
    public Integer getReward_num() {
        return reward_num;
    }
    
    public void setReward_num(Integer reward_num) {
        this.reward_num = reward_num;
    }
    
    public Long getCustomer_id() {
        return customer_id;
    }
    
    public void setCustomer_id(Long customer_id) {
        this.customer_id = customer_id;
    }
    
    public String getCustomer_name() {
        return customer_name;
    }
    
    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }
    
    public String getCustomer_avatar() {
        return customer_avatar;
    }
    
    public void setCustomer_avatar(String customer_avatar) {
        this.customer_avatar = customer_avatar;
    }
    
    public Integer getUpvote_flag() {
        return upvote_flag;
    }
    
    public void setUpvote_flag(Integer upvote_flag) {
        this.upvote_flag = upvote_flag;
    }
    
    public Integer getReward_flag() {
        return reward_flag;
    }
    
    public void setReward_flag(Integer reward_flag) {
        this.reward_flag = reward_flag;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("QuestionData [customer_id=").append(customer_id).append(", question_id=")
                .append(question_id).append(", question_content=").append(question_content)
                .append(", alias_name=").append(customer_name).append(", customer_avatar=")
                .append(customer_avatar).append(", question_date=").append(question_date).append(", position_str=")
                .append(position_str).append(", answer_status=").append(answer_status).append(", public_status=")
                .append(public_status).append(", upvote_num=").append(upvote_num).append(", reward_num=")
                .append(reward_num).append(", upvote_flag=").append(upvote_flag).append(", reward_flag=")
                .append(reward_flag).append(", question_answer=").append(question_answer).append("]");
        return builder.toString();
    }
    
}
